﻿<%@ Page Language="C#" MasterPageFile="~/Controls/AdminPage.master" AutoEventWireup="true" CodeFile="FamilyType.Add.aspx.cs" Inherits="Pages_Hr_FamilyType_Add" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<article>
	<asp:Label ID="lblTtitle" runat="server" Text="Thêm mới quan hệ gia đình" CssClass="title"></asp:Label>
    <form class="uniform">
	    <dl class="inline">
			<dt><label for="site_title">Tên quan hệ *</label></dt>
			<dd>
				<asp:TextBox ID="txtName" runat="server" CssClass="medium"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtName" ErrorMessage="Không được để trống" />
			</dd>

			<dt><label for="footer_text">Giới tính</label></dt>
			<dd>
			    <asp:DropDownList ID="drpGender" runat="server">
			        <asp:ListItem Text="Nam" Value="1"></asp:ListItem>
			        <asp:ListItem Text="Nữ" Value="0"></asp:ListItem>
			    </asp:DropDownList>
				<small>Chọn giới tính</small>
			</dd>

			<dt><label for="tagline">Thứ tự *</label></dt>
			<dd>
				<asp:TextBox ID="txtOrder" runat="server" CssClass="medium"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtOrder" ErrorMessage="Không được để trống" />
			</dd>

			<dt><label for="footer_text">Chú thích</label></dt>
			<dd>
				<asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" CssClass="medium"></asp:TextBox>
				<small>Thông tin ghi chú nếu cần thiết</small>
			</dd>

		</dl>
	    <p>
	        <asp:Button ID="btAdd" runat="server" Text="THÊM" CssClass="button blue" Width="80px" OnClick="btAdd_Click"></asp:Button>
	        <asp:Button ID="btCancel" runat="server" Text="HUỶ" CssClass="button gray" Width="80px" OnClick="btCancel_Click"></asp:Button>
	    </p>
    </form>
</article>
</asp:Content>

